<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-tw">
<head>
<meta charset="UTF-8">
<title>${activity.title}</title>
<!-- favicon -->
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
<link rel="Bookmark" href="images/favicon.ico" type="image/x-icon"/>
<!-- reset.css -->
<link rel="stylesheet" href="css/reset.css" media="screen">
<!-- Skeleton grid system -->
<link rel="stylesheet" href="css/skeleton.css" media="screen">
<!-- css -->
<link rel="stylesheet" href="css/style.css" media="screen">
<!-- rwdmenu -->
<link type="text/css" rel="stylesheet" href="css/jquery.mmenu.css" />
<!-- welcome2 css -->
<link style="text/css" rel="stylesheet" href="css/rwdmenu_main.css" />
<!-- font-awesome.css -->
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen">
<!-- xmas -->
<link rel="stylesheet" href="css/xmas.css" media="screen">

<!-- Layout and Media queries-->
<link rel="stylesheet" href="css/layout.css" media="screen">
<script src="js/modernizr.custom.js"></script>
<!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

<!-- Mobile Specific Meta -->
<meta name="viewport"
	content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0">
</head>
<body class="welcomebody">

	<div id="page">
		<div class="header FixedTop">
			<a href="#menu" class="headericon"></a>
			<img src="images/logo.png" alt="proactive Logo">
		</div><!-- header -->
		<div class="content">
			<div class="list-screen clearfix">
				<div class="navfull">
					<div class="container">
						<div class="grid_12">
							<div class="logo"><a href="index">Proactive</a></div>
							<ul class="topnav">
							<c:forEach items="${menuList}" var="menu">
								<li>
									<a href="${menu.url}" class="${menu.classString1}">
										${menu.icon}
										${menu.name}
									</a>
								</li>
							</c:forEach>	
							</ul>
							<ul class="login">
								<li>
									<a href="aboutme?id=${loginMember.memberNO}" class="loginImg">
										<img src="${loginMember.photoPath}">
									</a>
									<ul class="loginDropdown hide">
										<li><a href="aboutme?id=${loginMember.memberNO}">關於我</a></li>
										<li><a href="memberCourse?id=${loginMember.memberNO}">我創作</a></li>		
										<li><a href="collectCourse?id=${loginMember.memberNO}">我收藏</a></li>
										<li><a href="memberCard?id=${loginMember.memberNO}">耶誕卡片</a></li>
										<li><a href="logout">登出</a></li>
									</ul>
								</li>							
							</ul>
						</div>
					</div>
				</div>
			</div>

			<div class="rslidesWrap">
				<div class="rslidesWord">
					<div class="rslidesWordTitle">
						<h2>${activity.title}</h2><br />
						${activity.content}
					</div>
					<!-- <div class="rslidesWordBtn"><a href="##">寫張卡片</a></div> -->
				</div>
				<ul class="rslides">
				  <li><img src="img/maxbg1.jpg" alt=""></li>
				  <li><img src="img/maxbg2.jpg" alt=""></li>
				  <li><img src="img/maxbg3.jpg" alt=""></li>
				  <li><img src="img/maxbg4.jpg" alt=""></li>
				</ul>				
			</div>
			<div class="hotissue">
				<div class="container">
					<div class="grid_12 banner">
						<header class="sectionHeader">
							<h2><i class="fa fa-sun-o"></i> 挑選一個祝福 暖心 <i class="fa fa-sun-o"></i></h2>				
						</header>
						<div class="prefix_3 grid_6 suffix_3">
							<a href="card?aid=${activity.id}" class="btn_pop green">
								<span><i class="fa fa-paper-plane-o"></i> 點我看 已傳遞出的祝福</span>
	                    	</a>	
						</div>
						<img src="https://s3-ap-northeast-1.amazonaws.com/proactive/${activity.bannerPath}" alt="聖誕步驟" class="bannerhidden">	
					</div>			
				</div>
				<div class="inspireList xmas">
					<ul class="container">
					<c:forEach items="${cardTemplateList}" var="cardTemplate">
						<li class="grid_3">
							<div class="courseBox">
								<div class="inspireHover">
									<ul>
										<li>
											<a href="addCardCont?aid=${activity.id}&id=${cardTemplate.id}" class="make_btn">
												<span>製作卡片</span>
				                        	</a>
										</li>	
										<li>
											<a href="previewCard?id=${cardTemplate.id}" class="pre_btn">
												<span>預覽</span>
				                        	</a>
										</li>		
									</ul>
									<div class="made">							
										<i class="fa fa-tree"></i> <span>${cardTemplate.useCount}</span>
									</div>
								</div>
								<a href="##" class="courseBoxImg">
									<img src="https://s3-ap-northeast-1.amazonaws.com/proactive/${cardTemplate.imagePath}">
								</a> 
							</div>
						</li>
					</c:forEach>
						
									
					</ul>
				</div>
			</div>

			<footer class="footerbwrap">
				<div class="container">
					<div class="grid_12">
						<span>©2014 PROACTIVE </span> 
						<a href="https://www.facebook.com/pages/Proactive/579983748802096"><img src="images/icon_fb.png" alt="proactive facebook粉絲頁"></a>
						<a href="https://www.youtube.com/channel/UC4SGQg8Qjj5YcgOmopSmk0g"><img src="images/icon_youtube.png" alt="proactive egroup youtube頻道"></a>
					</div>
				</div>
			</footer>
	    </div><!-- content -->

		<!-- 左側meum滑出 -->
		<nav id="menu">
			<ul>		 
				<li class="logo"><a href="index">美編網</a></li>
				<c:forEach items="${menuList}" var="menu">				
				<li class="${menu.classString2}">
					<a class="${menu.classString1}" href="${menu.url}">${menu.icon}${menu.name}</a>
				</li>
				</c:forEach>
 				<li class="menumember">hi, ${loginMember.name}</li>
				<li class="menumember"><a href="aboutme?id=${loginMember.memberNO}"><img src="images/aboutme.png">關於我</a></li>
				<li class="menumember"><a href="memberCourse?id=${loginMember.memberNO}"><img src="images/mycreation.png">我創作</a></li>
                <li class="menumember"><a href="collectCourse?id=${loginMember.memberNO}"><img src="images/mystar.png">我收藏</a></li>
				<li class="menumember"><a href="logout">登出</a></li>
			</ul>
		</nav>
	</div><!-- page -->
	
	<!-- import jquery -->
	<script
		src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

	
	<!-- some jquery method we use -->
	<script src="js/hoverjquery.js"></script>
	<script src="js/listscreen.js"></script>	
	<script src="js/ourjquery.js"></script>	
	<script type="text/javascript" src="js/rwdmenu_main.js"></script>
	<!-- tab -->
  	<script src="js/jquery.hashchange.min.js"></script>
 	<script src="js/jquery.easytabs.min.js"></script>
	<!-- rwdmenu -->
	<script type="text/javascript" src="js/jquery.mmenu.min.all.js"></script>
	
  	<script src="js/responsiveslides.min.js"></script>
  	
  	<script>
	$(function() {
		$('#tab-container').easytabs();
		$('nav#menu').mmenu();
		$(".rslides").responsiveSlides({
			speed: 2000,            // Integer: Speed of the transition, in milliseconds
		  	timeout: 4000,          // Integer: Time between slide transitions, in milliseconds
		});	   
		
		
	});
	</script>
	
</body>
</html>